package com.bs.service.impl;

import com.bs.entity.Classes;
import com.bs.mapper.ClassesMapper;
import com.bs.service.IClassesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ClassesServiceimpl implements IClassesService {

    @Autowired
    private ClassesMapper mapper;

    @Override
    public List<Classes> getall() {
        return mapper.getall();
    }
}
